from flask import Flask, render_template, jsonify

app = Flask(__name__)

@app.route('/')
def home():
    return 'Flask Home2'

@app.route('/index/')
def index():
    # return '<b>Flask Index1123</b>'
    return render_template('index.html', name='法外狂徒张三')
    # return jsonify({'name':'张三','age':33})

if __name__ == '__main__':
    app.run(debug=True)
    # app.run(debug=True, port=8080, host='0.0.0.0')